import React, { useEffect, Fragment } from 'react';
import 'nprogress/nprogress.css'

import nprogress from 'nprogress';

const NProgress: React.FC = () => {
  useEffect(() => {
    nprogress.start()
    return () => {
      nprogress.done()
    }
  }, [])
  return (
    <div>
        <Fragment />
    </div>
    
  );
};

export default NProgress;